﻿using UnityEngine;

namespace WeatherSystem
{
    /// <summary>
    /// 天气系统管理器
    /// </summary>
    public sealed class WeatherSystem
    {
        private static WeatherSystem _instance;
        public static WeatherSystem instance => _instance ??= new WeatherSystem();

        private Transform _fullScreenEffectNode;
        
        private WeatherSystem()
        {
        }
        
        public Transform fullScreenEffectNode => _fullScreenEffectNode;
        
        /// <summary>
        /// 设置全屏特效挂点
        /// </summary>
        public void SetFullScreenEffectNode(Transform transform)
        {
            _fullScreenEffectNode = transform;
        }

        /// <summary>
        /// 天气系统是否生效
        /// </summary>
        public void SetEnabled(bool enabled)
        {
            
        }
    }
}
